package common.adventurecard.magicitem;

import common.Game;
import common.MagicItems;

public class SolomonsCrown extends MagicItems {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private final String name = "Solomon's Crown";

	@Override
	public boolean doStuff(final Game sg) {
		sg.addToLog(sg.getPlayer(sg.getCurrentPlayer()).getName()
				+ " has found Solomon's Crown, which increases his Craft by two!\n");
		sg.getPlayer(sg.getCurrentPlayer()).setCraft(
				sg.getPlayer(sg.getCurrentPlayer()).getCraft() + 2);
		return true;
	}

	@Override
	public String getName() {
		return this.name;
	}
}
